package com.guigu.buy.mapper;

import com.guigu.buy.dto.Storage_Stock;
import com.guigu.buy.pojo.Storage;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.guigu.buy.vo.StorageVo;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author com.guigu
 * @since 2024-05-15
 */
public interface StorageMapper extends BaseMapper<Storage> {

    int getNew();

    Storage queryMax();

    List<Storage_Stock> queryAll(StorageVo vo);

    Storage_Stock getOne(int id);
}
